<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>

<body>
    {% if perms.front.change_article %}
        <a href="{% url 'add_article' %}">添加文章</a>
    {% endif %}

</body>
</html>